From: | Craig Hutchison |
Date: | 10 Sep 2001 at 20:18:42 |
Subject: | Re: (unknown) |
G'day Fritsch,
On 10-Sep-01, you wrote:
>> Address Command 'C:PutClient L='||LocOut||'
>> '||UserName||':'||PassWd||'@'||Site||'/'||RemOut||'/'file
>> I'd suggest you use something other than PutClient to force your TCP
>> stack online. Have you tried simply telling Miami to dial up through
>> ARexx?
>> If ~SHOW('P','MIAMI.1') then do
[snip]
>> Else Say 'Miami was already online...'
FA> Thanks for that piece of code. As I am just a beginner in AREXX I
FA> wanted it to stay as simple as possible, so I didn't try to control
FA> MiamiDX so far. And I will get a flatrate soon, so no need to online and
FA> offline again any longer ;) But as I want to make the program usable by
FA> others too your code is very welcome!
Not a problem. I'd suggest you grab Rolf's archive of snippets from
the groups.yahoo.com site and put all the pieces aside for reference.
There's quite a deal in there from a /master/ of ARexx.
FA> To be honest I don't understand the syntax of putclient. Could you
FA> comment your
FA> Address Command 'C:PutClient L='||LocOut||'
FA> '||UserName||':'||PassWd||'@'||Site||'/'||RemOut||'/'file
FA> please? What do the "||" mean?
The double pipe operator means absolute (as opposed to implied)
concatenation. IE. "say 'A''B'" gets you the output "AB" but
might also get you "A B", whereas "say 'A'||'B'" will always
return "AB". It's just a way of making sure of the result.
FA> I want to send the file
FA> ram:webcampic.jpg. I started the script always from RAM:, so I did not
FA> need any path. (I didnt manage it in another way so far...) Ideally I
FA> would of course be able to start the script from anywhere, e.g. no
FA> path-dependencies. I found a LacaPath-setting or something simelar in
FA> putclient but didn't now how to use it.
The 'L=' section designates the local directory in which the outbound
file is stored. For your own needs, using 'L=RAM:' would be
sufficient, assuming the file to be uploaded always existed in the RAM
Disk.
Cache Ya,
Craig.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now!
http://us.click.yahoo.com/n7RbFC/zhwCAA/yigFAA/saFolB/TM
---------------------------------------------------------------------~->
ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/